const build_version = '0.0.1'

const zhCN = {
  screen_share_permission: '缺少屏幕共享权限',
  electron: {
    start_screen_share_failed: 'native screen sharing failed'
  },
  icon: {
    setting: '设置',
    'upload-log': '上传日志',
    'exit-room': '退出教室',
    'lang-select': '语言切换'
  },
  doc_center: '文档中心',
  upload_picture: '上传图片',
  convert_webpage: '转换动态PPT',
  convert_to_picture: 'PPT转图片',
  upload_audio_video: '上传音视频',
  return: {
    home: '返回主页'
  },
  control_items: {
    first_page: '第一页',
    prev_page: '上一页',
    next_page: '下一页',
    last_page: '最后一页',
    stop_recording: '停止云端录制',
    recording: '开始云端录制',
    quit_screen_sharing: '停止屏幕分享',
    screen_sharing: '开始屏幕分享',
    delete_current: '删除当前',
    delete_all: '删除全部'
  },
  zoom_control: {
    folder: '文档中心',
    lock_board: '设置白板跟随',
    unlock_board: '取消白板跟随'
  },
  tool: {
    selector: '鼠标选择器',
    pencil: '画笔',
    rectangle: '矩形',
    ellipse: '椭圆',
    eraser: '橡皮擦',
    text: '文字',
    color_picker: '调色板',
    add: '新增一页',
    upload: '上传',
    hand_tool: '手抓工具'
  },
  error: {
    not_found: '页面找不到',
    components: {
      paramsEmpty: '参数：{reason}不能为空'
    },
    400: '参数错误',
    401: '用户会话已过期，请重新登录',
    500: '服务器内部错误',
    1101006: '房间人数已满，不能进入',
    1101007: '手机号已存在',
    1101008: '用户名或密码不正确',
    1101009: '教室密码不正确',
    1101010: '账号待审批',
    1101011: '账号审批未通过',
    1101012: '课程已结束',
    1101013: '白板教室创建失败',
    1101014: '云录制开启失败',
    1101017: '老师不在教室'
  },
  whiteboard: {
    loading: '加载中...',
    global_state_limit: '请不要给白板设置过大的globalState size',
    locked_board: '老师正在控制白板，请勿书写',
    unlocked_board: '白板已解除锁定。'
  },
  toast: {
    upload_log_failure: '上传日志失败，错误类型：{reason}, 详情参考开发者工具',
    show_log_id: `请提供你的日志ID: {no}`,
    api_login_failured: '房间加入失败, 原因: {reason}',
    confirm: '确定',
    cancel: '取消',
    quit_room: '确定退出课程吗？',
    kick: '其他端登录，被踢出房间',
    login_failure: '登录房间失败',
    whiteboard_lock: '设置白板跟随',
    whiteboard_unlock: '取消白板跟随',
    canceled_screen_share: '已取消屏幕共享',
    screen_sharing_failed: '屏幕分享失败, 原因：{reason}',
    recording_failed: '开启云录制失败, 原因：{reason}',
    start_recording: '开始云录制',
    stop_recording: '结束云录制',
    recording_too_short: '录制太短，至少15秒',
    rtm_login_failed: '房间登录失败, 请检查网络设置',
    rtm_login_failed_reason: '房间登录失败, 原因： {reason}',
    replay_failed: '回放失败，请刷新页面重试',
    teacher_exists: '该房间老师已存在，请等待30秒或重新创建教室',
    student_over_limit: '超出学生最大人数，请等待30秒或重新创建教室',
    teacher_and_student_over_limit: '超出学生和老师的最大人数',
    teacher_accept_whiteboard: '老师已授权了你白板的权限',
    teacher_cancel_whiteboard: '老师已收回了你白板的权限',
    teacher_accept_co_video: '老师已允许连麦',
    teacher_reject_co_video: '老师已拒绝连麦',
    teacher_cancel_co_video: '老师已取消连麦',
    student_cancel_co_video: '学生已取消连麦',
    student_send_co_video_apply: '"{reason}" 学生发起了连麦申请',
    student_peer_leave: '"{reason}" 离开了',
    stop_co_video: '教师停止了"{reason}"的连麦',
    reject_co_video: '您取消了学生的连麦申请',
    close_co_video: '您关闭了学生的连麦',
    close_youself_co_video: '你关闭了自己的连麦',
    accept_co_video: '您同意了连麦'
  },
  notice: {
    student_interactive_apply: `"{reason}"想和你连麦`
  },
  chat: {
    placeholder: '说点什么',
    banned: '禁言中',
    send: '发送'
  },
  device: {
    camera: '摄像头',
    microphone: '麦克风',
    speaker: '扬声器',
    finish: '完成'
  },
  nav: {
    delay: '延迟: ',
    network: '网络: ',
    cpu: 'CPU: ',
    class_end: '课程结束',
    class_start: '课程开始'
  },
  home: {
    'entry-home': '进入教室',
    teacher: '老师',
    student: '学生',
    cover_class: 'cover-cn',
    room_name: '房间名',
    nickname: '昵称',
    room_type: '房间类型',
    room_join: '加入房间',
    short_title: {
      title: '声网云课堂',
      subtitle: '由声网提供'
    },
    name_too_long: '名字过长，不得超过20个字符',
    '1v1': '一对一',
    mini_class: '小班课',
    large_class: '大班课',
    missing_room_name: '缺少房间名',
    missing_your_name: '缺少昵称',
    missing_password: '缺少房间密码',
    missing_role: '缺少角色',
    account: '姓名',
    password: '密码'
  },
  room: {
    chat_room: '消息列表',
    student_list: '学生列表',
    uploading: '上传中...',
    converting: '转换中...',
    upload_success: '上传成功',
    upload_failure: '上传失败，请检查网络',
    convert_success: '转换成功',
    convert_failure: '转换失败，请检查网络'
  },
  replay: {
    loading: '加载中...',
    recording: '在录制中',
    finished: '录制完成',
    finished_recording_to_be_download: '服务端准备下载中',
    finished_download_to_be_convert: '服务端准备转换中',
    finished_convert_to_be_upload: '服务端准备保存中'
  },
  course_recording: '录制回放',
  build_version: `构建版本: ${build_version}`
}

export default zhCN
